package service;

import mapper.MuserMapper;
import org.springframework.stereotype.Service;
import pojo.Muser;

import javax.annotation.Resource;

/**
 * @author wyj
 * @date 2019/3/14
 * @time 下午3:05
 */
@Service("myservice")
public class MyService {
    @Resource(name = "muserMapper")
    MuserMapper muserMapper;
    public Boolean login(Muser muser) {
        if(muserMapper.login(muser)==1){
            return  true;
        }

        return false;
    }
}
